$(document).ready(function() {	
	$("#frmEdit").validate({
		errorClass		: 'error',
		errorElement	: 'span',
		onfocusout		: false,
		onkeyup			: false,
		ignore			: "input[type='text']:hidden",
		rules: {			
			ppassword : {				
				minlength			: 5,
				equalTo				: '#ppassword_confirm'
			}
		},
		messages: {			
			ppassword : {				
				minlength			: password_minlength,
				equalTo				: password_notmatch
			}
		},
		errorPlacement: function(label, element) {			
			var id = element.attr('id');			
			label.insertAfter($('#' + id));			
		},
		submitHandler: function(form) {				
			form.submit();
		}
	});		
});